package display;

import option.Data;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class SetDataListener implements ActionListener {
    private int x,y,leiCount;
    SetDataListener(int x,int y,int leiCount){
        this.x=x;
        this.y=y;
        this.leiCount=leiCount;
    }
    @Override
    public void actionPerformed(ActionEvent e) {
        SetListener.x=x;
        SetListener.y=y;
        SetListener.leiCount=leiCount;
    }
}
